package com.bijava.entity;

/**
 * Created by ljj on 2018/6/1.
 */
public class JdbcEntity extends ConnectionEntity{
    String sql;

    public JdbcEntity(String jdbcUrl, String driverClass, String user, String password, String sql) {
        super(jdbcUrl, driverClass, user, password);
        this.sql = sql;
    }
    public JdbcEntity(String sql,ConnectionEntity connectionEntity) {
        super(connectionEntity.getJdbcUrl(), connectionEntity.getDriverClass(), connectionEntity.getUser(), connectionEntity.getPassword());
        this.sql = sql;
    }
    public JdbcEntity() {

    }
    public String getSql() {
        return sql;
    }

    public void setSql(String sql) {
        this.sql = sql;
    }
}
